<%@ Import Namespace="System" %>
<%@ Import Namespace="System.Data" %>
<%@ Import Namespace="System.Data.SqlClient" %>
<!--#include file="includes/common.aspx"-->
<!--#include file="includes/includeitems.aspx"-->
<script  runat="server">
Dim samples =""
Dim i=0,j=0,k=0
Sub Page_Load(ByVal sender As Object, _
	ByVal e As EventArgs)	
	samples =request("samples")
End Sub
</script>
<HTML><HEAD><TITLE>InterShop-Online Shopping</TITLE>
<META http-equiv=Content-Type content="text/html; charset=UTF-8">
<META content=""  name=description>
<META content="trading software platform" name=keywords>
<META http-equiv=Pragma content=no-cache>
<LINK href="style.css" type=text/css rel=stylesheet>
<SCRIPT language=JavaScript>
        	self.defaultStatus = "Online-Shopping!";                           
</SCRIPT>
</HEAD>
<BODY bottomMargin=0 leftMargin=0 topMargin=0  rightMargin=0 marginheight="0"  marginwidth="0">
<!--#include file="top.aspx"-->
<TABLE cellSpacing=0 cellPadding=0 border=0  width="775" >
  <TBODY> 
  <TR>
    <TD vAlign=top align="center" width="160"> 
      <table width="18%" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td align="center"><br> 
            <table border=0 cellspacing=0 cellpadding=0>
              <tr valign=bottom align=center> 
                <td><img src="images/new-products.gif" height="19" width="155"></td>
              </tr>
              <tr valign=top align=center> 
                <td> 
                  <table border=0 width=155 cellpadding=1 cellspacing=0 bgcolor=#708090 >
                    <tr> 
                      <td width=100% height="49"> 
                        <table width=100% border=0 cellpadding=4 cellspacing=0 bgcolor=#FFFFFF>
                          <tr> 
                            <td valign=top width=8% align="left" height="51" bgcolor="#EEEECC"> 
                              <table cellspacing=0 cellpadding=0 border=0  width="100%">
                                <tr> 
                                  <td colspan=2>&nbsp;</td>
                                </tr>
                                <tbody> 
                                <tr  align="left"> 
                                  <td colspan=2> 
                                    <input size=15  onFocus="this.value = '';" value="Keyword" name=txtKeyword class=textbox>
                                  </td>
                                </tr>
                                <tr> 
                                  <td align=left> 
                                    <select name="cbCate">
                                      <option selected>All Products</option>
                                      <option>Books</option>
                                      <option>Poems</option>
                                    </select>
                                    <img height=21 
            alt="Click here to search the Item." 
            src="images/go.gif" 
            width=21 align=absMiddle 
      border=0></td>
                                </tr>
                                </tbody> 
                              </table>
                            </td>
                          </tr>
                        </table>
                      </td>
                    </tr>
                  </table>
            </table>
      </table>
	  <table width="18%" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td align="center"><br> 
            <table border=0 cellspacing=0 cellpadding=0>
              <tr valign=bottom align=center> 
                <td><img src="images/new-products.gif" height="19" width="155"></td>
              </tr>
              <tr valign=top align=center> 
                <td> 
                  <table border=0 width=155 cellpadding=1 cellspacing=0 bgcolor=#708090 >
                    <tr> 
                      <td width=100% > 
                        <table width=100% border=0 cellpadding=4 cellspacing=0 bgcolor=#FFFFFF>
                          <tr> 
                            <td valign=top width=8% align="left" bgcolor="#CAE2F0"> 
                              <input size=15  onFocus="this.value = '';" value="Keyword" name=txtKeyword2 class=textbox>
                              <img height=21 
            alt="Click here to search the Item." 
            src="images/go-button.gif" 
            width=21 align=absMiddle 
      border=0> <br>
                              <img src="images/powered-by-google.gif" width="95" height="14"> 
                            </td>
                          </tr>
                        </table>
                      </td>
                    </tr>
                  </table>
            </table>
      </table>
       <table width="18%" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td align="center"><br> 
            <table border=0 cellspacing=0 cellpadding=0>
              <tr valign=bottom align=center> 
                <td><img src="images/browse-items.gif" width="155" height="19"></td>
              </tr>
              <tr valign=top align=center> 
                <td> 
                  <table border=0 width=155 cellpadding=1 cellspacing=0 bgcolor=#708090 >
                    <tr> 
                      <td width=100% height="49"> 
                        <table width=100% border=0 cellpadding=4 cellspacing=0 bgcolor=#FFFFFF>
                          <tr> 
                            <td valign=top width=8% align="left" height="51" bgcolor="#CAE2F0">
							 <!--#include file="includes/listsubcategories.htm"-->
                            </td>
                          </tr>
                        </table>
                      </td>
                    </tr>
                  </table>
            </table>
      </table>
      <!--#include file="left.aspx"-->
    </TD>
    <TD class=margin width="1" valign="top" align="right" bgcolor="#666666" > 
    </TD>
    <TD class=text_normal id=mainContent vAlign=top width="420"> 
      <TABLE cellSpacing=4 cellPadding=4 width="100%" align=left border=0 height="61">
        <TR> 
          <TD vAlign=top align=left height="46"> 
            <!--#include file="submenu.aspx"-->
             </TD>
        </TR>
        <TBODY> 
        <TR> 
          <TD vAlign=top align=middle>
  	<%
	
	if request("image") <>"" then%>
	 <img width="350" height="350" src= "samples/<%=request("itemid")%>/m<%=request("image")%>.jpg">
	<br><br>
	<%if request("image") >1 then%>
	<a href="sample.aspx?samples=<%=samples %>&itemid=<%=request("itemid")%>&image=<%=request("image")-1%>">Previous</a>	
	&nbsp;&nbsp;
	<%end if%>
	<%if request("image") <samples then%>
	<a href="sample.aspx?samples=<%=samples %>&itemid=<%=request("itemid")%>&image=<%=request("image")+1%>">Next</a>
	&nbsp;&nbsp;
	<%end if%>
	<a href="sample.aspx?samples=<%=samples %>&itemid=<%=request("itemid")%>&image=">Show <font color=red><%=samples %></font> Images</a>
	<%else	 	
	i =samples \  5
	if samples mod 5 > 0 then i=i +1
	%>
	<TABLE cellSpacing=3 cellPadding=3 width="415" align=left border=0>
	<%
	k=1
	for j=1 to i		
		%>
		<tr><td width="100"  valign=top align=center>
			<a href="sample.aspx?samples=3&itemid=<%=request("itemid")%>&image=<%=k%>">
			<img border=1 src= "samples/<%=request("itemid")%>/m<%=k%>.jpg">
			</a>
		</td>
		<td width="100" valign=top align=center>
			<%if samples-k> 0  then %>
			<a href="sample.aspx?samples=3&itemid=<%=request("itemid")%>&image=<%=k+1%>">
			<img border=1 src= "samples/<%=request("itemid")%>/m<%=k+1%>.jpg">
			</a>
			<%end if %>
		</td>
		<td width="100"  valign=top align=center>
			<%if samples-k-1> 0  then %>
			<a href="sample.aspx?samples=3&itemid=<%=request("itemid")%>&image=<%=k+2%>">
			<img border=1 src= "samples/<%=request("itemid")%>/m<%=k+2%>.jpg">
			</a>
			<%end if %>
		</td>
		
		<td width="100"  valign=top align=center>
			<%if samples-k-2> 0  then %>
			<a href="sample.aspx?samples=3&itemid=<%=request("itemid")%>&image=<%=k+3%>">
			<img border=1 src= "samples/<%=request("itemid")%>/m<%=k+3%>.jpg">
			</a>
			<%end if %>
		</td>
		<td width="100"  valign=top align=center>
			<%if samples-k-3> 0  then %>
			<a href="sample.aspx?samples=3&itemid=<%=request("itemid")%>&image=<%=k+4%>">
			<img border=1 src= "samples/<%=request("itemid")%>/m<%=k+4%>.jpg">
			</a>
			<%end if %>
		</td>
		</tr>
		<%	
		k=k+5	
		next%></table>
		<%
	    end if%>
	    
	</TD>
        </TR>
        </TBODY> 
      </TABLE>
    </TD>
    <TD class=margin width="1" valign="top" align="right" bgcolor="#666666" > 
    </TD>
    <TD class=margin valign="top" align="left" width="160"> 
      <TABLE>
       
        <tr> 
          <td >&nbsp;</td>
          <td valign="top" align="center" > 
            <!--#include file="includes/right-cart.htm" -->
          </td>
        </tr>
        <tr> 
          <td>&nbsp;</td>
          <td valign=top> 
            <!--#include file="includes/right-next.htm" -->
          </td>
        </tr>

        <tr> 
          <td>&nbsp;</td>
          <td valign=top> <br>
            <table width="18%" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td align="center"> 
                  <table border=0 cellspacing=0 cellpadding=0>
                    <tr valign=bottom align=center> 
                      <td><img src="images/new-products.gif" width="155" height="19"></td>
                    </tr>
                    <tr valign=top align=center> 
                      <td> 
                        <table border=0 width=155 cellpadding=1 cellspacing=0 bgcolor=#708090 >
                          <tr> 
                            <td width=100%> 
                              <table width=100% border=0 cellpadding=4 cellspacing=0 bgcolor=#FFFFFF>
                                <tr> 
                                  <td valign=top width=8% align="left" height="52"> 
                                    <p>&nbsp;</p>
                                  </td>
                                  <td valign=top width=92% align="left" height="52"> 
                                    <!--#include file="includes/right-top.htm" -->
                                  </td>
                                </tr>
                              </table>
                            </td>
                          </tr>
                        </table>
                  </table>
            </table>
          </td>
        </tr>
      </TABLE>
    </TD>
  </TR></TBODY></TABLE>
  <!--#include file="bottom.aspx"-->
</BODY></HTML>
